package com.poul.acfun.ac_utils;

import com.poul.acfun.ac_model.bean.PushBean;
import com.poul.acfun.ac_model.bean.WelcomeBean;

import retrofit2.http.GET;
import retrofit2.http.Headers;
import rx.Observable;

/**
 * Created by poul on 2016/10/19.
 */

public interface AcServer {
    @Headers({
            "appVersion: 4.3.1",
            "deviceType:1",
            "market: m360",
            "productId: 2000",
            "udid: ad70e600-1b75-3a93-89e6-4e5f80309396"
    })
    @GET("flashScreens/getFlashScreen")
    Observable<WelcomeBean> getStartImage();
    @Headers({
            "appVersion: 4.3.1",
            "deviceType:1",
            "market: m360",
            "productId: 2000",
            "udid: ad70e600-1b75-3a93-89e6-4e5f80309396"
    })
    @GET("regions?belong=0&loadCount=-1")
    Observable<PushBean> getPush();
}
